


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" href="/static/plugins/bootstrap-3.3.7-dist/css/bootstrap.css">
    <link rel="stylesheet" href="/static/css/dsb.css">

    <style>
        .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
            padding: 8px;
            line-height: 1.42857143;
            vertical-align: middle;
            border-top: 1px solid #ddd;
        }
    </style>
</head>

<body>

<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container-fluid">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
                    aria-expanded="false" aria-controls="navbar">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">Project name</a>
        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav navbar-right">
                <li><a href="#">Dashboard</a></li>
                <li><a href="#">Settings</a></li>
                <li><a href="#">Profile</a></li>
                <li><a href="#">Help</a></li>
            </ul>
            <form class="navbar-form navbar-right">
                <input type="text" class="form-control" placeholder="Search...">
            </form>
        </div>
    </div>
</nav>

<div class="container-fluid">
    <div class="row">
        <div class="col-sm-3 col-md-2 sidebar">
            <ul class="nav nav-sidebar">
                <li class="active" ><a href="/Lab_list/">实验室列表</a></li>
                <li  ><a href="/Assets_list/">物资列表</a></li>
                <li ><a href="/User_list/">用户列表</a></li>
            </ul>

        </div>
        <div class="col-sm-9 col-sm-offset-3 col-md-10 col-md-offset-2 main">


            <h2 class="sub-header">修改物资列表</h2>
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h3 class="panel-title">开炮！！</h3>
                </div>
                <div class="panel-body">
                    <form class="form-horizontal" method="post" action="">
                        <div class="form-group {% if error %}has-error{% endif %}" >
                            <label for="inputEmail3" class="col-sm-2 col-sm-offset-1 control-label">物品名称</label>
                            <div class="col-sm-6">
                                <input type="text" name="c_name"  value="{{ Assets_obj.c_name }}" class="form-control"  id="inputEmail3" placeholder="请输入出版社名称">
                                <span style="color: red">{{ error }}</span>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputPassword3" class="col-sm-2  col-sm-offset-1 control-label">物品编号</label>
                            <div class="col-sm-6">
                                <input type="text" name="number" value="{{ Assets_obj.number }}" class="form-control" id="inputPassword3" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputPassword3" class="col-sm-2  col-sm-offset-1 control-label">购买时间</label>
                            <div class="col-sm-6">
                                <input type="date" name="buy_time" value="{{ Assets_obj.buy_time }}" class="form-control" id="inputPassword3" >
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="inputPassword3" class="col-sm-2  col-sm-offset-1 control-label">所属实验室</label>
                            <div class="col-sm-6">
                                <input type="text" name="laboratory" value="{{ Assets_obj.laboratory_id}}" class="form-control" id="inputPassword3" >
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button type="submit" class="btn btn-default">保存</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>


</body>


</html>